﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>Microwave02: LockBoost Class Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                Examples using state machines generated by StateBuilderCpp
            </h1>
            <h3>
                Microwave02: LockBoost Class Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">LockBoost Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="LockBoost" -->
<p><code>#include &lt;<a class="el" href="_lock_boost_8h_source.html">LockBoost.h</a>&gt;</code></p>

<p><a href="class_lock_boost-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lock_boost.html#a5e72da09be7ded6b2026c1d0255e2626">~LockBoost</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lock_boost.html#a4f53c07558cd6c17b1cf3b3b96f5d6c5">Lock</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lock_boost.html#a757f3937010dbde9de55169f046231d2">UnLock</a> (void)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boost::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lock_boost.html#a7176100f4d43683f626f5738fa9df40b">m_mutex</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_lock_boost_8h_source.html#l00014">14</a> of file <a class="el" href="_lock_boost_8h_source.html">LockBoost.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5e72da09be7ded6b2026c1d0255e2626"></a><!-- doxytag: member="LockBoost::~LockBoost" ref="a5e72da09be7ded6b2026c1d0255e2626" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual LockBoost::~LockBoost </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_lock_boost_8h_source.html#l00017">17</a> of file <a class="el" href="_lock_boost_8h_source.html">LockBoost.h</a>.</p>
<div class="fragment"><pre class="fragment">{};
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4f53c07558cd6c17b1cf3b3b96f5d6c5"></a><!-- doxytag: member="LockBoost::Lock" ref="a4f53c07558cd6c17b1cf3b3b96f5d6c5" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LockBoost::Lock </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_lock_boost_8cpp_source.html#l00003">3</a> of file <a class="el" href="_lock_boost_8cpp_source.html">LockBoost.cpp</a>.</p>
<div class="fragment"><pre class="fragment">{
    <a class="code" href="class_lock_boost.html#a7176100f4d43683f626f5738fa9df40b">m_mutex</a>.lock();
}
</pre></div>
</div>
</div>
<a class="anchor" id="a757f3937010dbde9de55169f046231d2"></a><!-- doxytag: member="LockBoost::UnLock" ref="a757f3937010dbde9de55169f046231d2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LockBoost::UnLock </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_lock_boost_8cpp_source.html#l00008">8</a> of file <a class="el" href="_lock_boost_8cpp_source.html">LockBoost.cpp</a>.</p>
<div class="fragment"><pre class="fragment">{
    <a class="code" href="class_lock_boost.html#a7176100f4d43683f626f5738fa9df40b">m_mutex</a>.unlock();
}
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a7176100f4d43683f626f5738fa9df40b"></a><!-- doxytag: member="LockBoost::m_mutex" ref="a7176100f4d43683f626f5738fa9df40b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::mutex <a class="el" href="class_lock_boost.html#a7176100f4d43683f626f5738fa9df40b">LockBoost::m_mutex</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_lock_boost_8h_source.html#l00021">21</a> of file <a class="el" href="_lock_boost_8h_source.html">LockBoost.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_lock_boost_8h_source.html">LockBoost.h</a></li>
<li><a class="el" href="_lock_boost_8cpp_source.html">LockBoost.cpp</a></li>
</ul>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
